
@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,700');

/* _variables.css */

/* _mixins.css */

/* _global.css */
* {
    box-sizing: border-box;
}

#newChina {
    font-family: 'Nunito', sans-serif;
    background: -webkit-linear-gradient(right,rgb(240,60,36) ,rgb(213,170,9));
    background: linear-gradient(to left, rgb(240,60,36) ,rgb(213,170,9));  /** 右边，左边  **/
}

img {
    max-width: 100%;
    height: auto;
}

/* _site-header.css */
.site-header {
    text-align: center;
    padding: 40px 0;

}
.site-header__title {
    font-size: 36px;
    color: rgb(246,236,209);
}

/* _wrapper.css */
.wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* _timeline.css */
.timeline {
    position: relative;
    margin: 30px auto;
    padding: 40px 0;

}
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 4px;
    height: 100%;
    background-color: #8d94b1;  /** 时间轴线  **/
}
@media (min-width: 800px){
    .timeline::before{
        left: 50%;
        margin-left: -2px;
    }
}
.timeline__item {
    margin-bottom: 20px;
    position: relative;
}
.timeline__item::after{
    content: "";
    clear: both;
    display: table;
}
.timeline__item:nth-child(2n) .timeline__item__content {
    float: right;
}
.timeline__item:nth-child(2n) .timeline__item__content::before {
    content: '';
    right: 40%;
}
@media (min-width: 800px){
    .timeline__item:nth-child(2n) .timeline__item__content::before{
        left: inherit;
    }
}
.timeline__item:nth-child(2n) .timeline__item__content__date {    /**  右侧文本标题颜色  **/
    background-color:rgb(240,60,36);
}
.timeline__item:nth-child(2n) .timeline__item__content__description {  /**  右侧文本内容颜色  **/
    color: #333399;
}
.timeline__item:last-child {
    margin-bottom: 0;
}
.timeline__item-bg {
    -webkit-transition: all 1s ease-out;
    transition: all 1s ease-out;
    color: #fff;
}
.timeline__item-bg:nth-child(2n) .timeline__item__station {
    background-color: rgb(240,60,36);
}
.timeline__item-bg:nth-child(2n) .timeline__item__content {  /**  右侧文本背景颜色  **/
    background-color: rgb(240,60,36);
}
.timeline__item-bg:nth-child(2n) .timeline__item__content::before {
    background-color:  rgb(240,60,36);
;
}
.timeline__item-bg:nth-child(2n) .timeline__item__content__description {   /**  右侧文本内容颜色  **/
    color: #333333;
}
.timeline__item-bg .timeline__item__station {      /**  左侧节点颜色  **/
    background-color: rgb(213,170,9);
}
.timeline__item-bg .timeline__item__content {     /**  左侧文本背景颜色  **/
    background-color: rgb(213,170,9);  /**  #65abd7   **/
}
.timeline__item-bg .timeline__item__content::before {  /** 左侧支干线颜色  **/
    background-color: rgb(213,170,9);
}
.timeline__item-bg .timeline__item__content__description {   /**  左侧文本内容颜色  **/
    color: #333333;
}
.timeline__item__station {  /**  节点   **/
    background-color: #9aa0b9;
    width: 40px;
    height: 40px;
    position: absolute;
    border-radius: 50%;
    padding: 10px;
    top: 0;
    left: 10%;
    margin-left: -33px;
    border: 4px solid #8d94b1;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
@media (min-width: 800px){
    .timeline__item__station{
        left: 50%;
        margin-left: -30px;
        width: 60px;
        height: 60px;
        padding: 15px;
        border-width: 6px;
    }
}
.timeline__item__content {  /** 初始颜色  **/
    width: 80%;
    background: rgb(246,236,209);     /** #fff  */
    padding: 10px 15px;
    border-radius: 6px;
    float: right;
    z-index: 1;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
@media (min-width: 800px){
    .timeline__item__content{
        width: 45%;
        float: inherit;
        padding: 30px 40px;
    }
}
.timeline__item__content::before {  /** 支干线  **/
    content: '';
    position: absolute;
    left: 10%;
    background: #8d94b1;  /*  #8d94b1   */
    top: 20px;
    width: 8%;
    height: 4px;
    z-index: -1;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
@media (min-width: 800px){
    .timeline__item__content::before{
        left: 40%;
        top: 30px;
        height: 4px;
        margin-top: -2px;
    }
}
.timeline__item__content__date {  /** 初始日期颜色  **/
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
    margin-bottom: 10px;
    background-color: rgb(213,170,9);
    color: #333333;
    display: inline-block;
    border-radius: 4px;
    border: 2px solid #333333;
}
.timeline__item__content__description {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 20px;
    font-weight: 300;
    color: #333399;
}
@media (min-width: 800px){
    .timeline__item__content__description{
        font-size: 15px;
        line-height: 20px;
    }
}
